import request from '@/utils/request';

// 获取所有可见系统列表
export function getAppByDepartmentList(params) {
  return request({
    url: '/system_navigate/get_app_by_department',
    method: 'get',
    params
  });
}
// 获取收藏系统列表
export function getCollectList(params) {
  return request({
    url: '/system_navigate/collect',
    method: 'get',
    params
  });
}
// 收藏系统
export function getNavigateCollect(data) {
  return request({
    url: '/system_navigate/collect',
    method: 'post',
    data
  });
}
// 取消收藏系统
export function deleteNavigateCollect(data) {
  return request({
    url: '/system_navigate/collect',
    method: 'delete',
    data
  });
}
// 取消收藏系统
export function postNavigateCollectSort(data) {
  return request({
    url: '/system_navigate/collect_sort',
    method: 'post',
    data
  });
}
